package com.blog1.service;

import com.blog1.pojo.request.LoginRequest;
import com.blog1.pojo.response.LoginResult;
import com.blog1.pojo.response.UserInfoResponse;

public interface UserInfoService {
    LoginResult login(LoginRequest request);

    UserInfoResponse getUserInfo(int userId);

    UserInfoResponse getAuthorInfo(int blogId);
}
